#ifndef CONNECTIONWINDOW_H
#define CONNECTIONWINDOW_H

#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QDialogButtonBox>

class ConnectionWindow : public QDialog
{
    Q_OBJECT
public:
    ConnectionWindow(QWidget *parent = 0,QString ip = "127.0.0.1",int port = 10000, QString addr = "unknown");

    QString             getIP();
    QString             getAddr();
    int                 getPort();

private:
    QLabel*             iplbl;
    QLabel*             portlbl;
    QLabel*             addrlbl;

    QLineEdit*          ipedit;
    QLineEdit*          portedit;
    QLineEdit*          addredit;

    QDialogButtonBox*   buttonbox;
};

#endif
